import { defineStore } from "pinia";

const useStore = defineStore("store", {
  state: () => ({
    count: 1,
    name: "zgx-cli",
  }),
  actions: {
    setCount: (payload) => {
      this.count = payload;
    },
    setName: (payload) => {
      this.name = payload;
    },
  },
  getters: {},
});

export default useStore;
